home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / CONVMPG3.ZIP / RAWRIP.TXT < prev    next >
Text File  |  1995-03-04  |  3KB  |  69 lines

  1. RawRip v. 3.0 - By Mike Negus
  2.  
  3. First read the DMPEG.DOC file to learn how a RAW file should be created from
  4. an MPEG.  Once you have created a RAW file with DMPEG (either 8 or 24-bit with
  5. the -d4 option) you can run it through my RawRip program to create a DIB, TGA,
  6. or RAW sequence.  
  7.  
  8. The 24-bit RAW and TGA (TARGA by Truevision) sequence files can be edited by
  9. any editor supporting these formats and then reread by CMPEG again to recreate
  10. a bitmap.  In effect you can decompress an MPEG edit it and the recompress it.
  11.  
  12. The DIB files which my program can also create is compatible with the BMP file
  13. format.  This sequence can then be used by Microsoft's Video for Windows to 
  14. create an AVI or each DIB file can be edited by any Bitmap editor.  You will
  15. need the full VFW in order to create an AVI.  The VIDEDIT utility will read in
  16. DIB files.
  17.  
  18. There are three options that I've incorporated with this program.  The first is
  19. a promote option that will take an 8-bit RAW file created by DMPEG and
  20. automatically create 24-bit sequence files instead of 8-bit ones.  24-bit files
  21. are supported by CMPEG and the 8-bit TGA and RAW files would not work.  
  22.  
  23. Another option is the start frame option which allows you to start conversion at
  24. whatever frame in the sequence you choose.
  25.  
  26. The other is a lightness option which lets you lighten up the sequence if it is 
  27. too dark.  The range of this option is from 0 to 255.  255 lightens the most 
  28. and will give a bunch of white frames.  I've allowed numbers greater than 
  29. 255 because it creates "neat" effects like a negative does.  Try a lightness 
  30. factor of 450 or 1000 to see what I mean.  
  31.  
  32. USING RAWRIP:
  33.  
  34. To use RAWRIP you need to use the command:
  35.     rawrip <filename.raw> [t<type>] [p] [s#] [l#]
  36.  
  37. filename.raw = The RAW that you want to rip.
  38. t<type> = You have three choices "td" for DIB sequence, "tt" for TGA
  39.       sequence, "tr" for RAW sequence.  Default is "td".
  40. p = promotes an 8-bit RAW to a 24-bit sequence.  Default is no promotion.
  41. s# = starting frame #.  "s29" will start at frame 29 counting from 0.  So
  42.      actually it is frame 30 that it starts at.  Frames start at 0 by default.
  43. l# = lightness factor. Range is from 0-255 and lightens the sequence.  I found
  44.      this useful at times so I left it in.  Try a number > 255 and cool
  45.      things happen to the colors of the images.
  46.  
  47. for example: 
  48.  
  49. rawrip test.raw
  50.  
  51. Creates DIB files starting at frame 0 w/no lightness factor and no promotion
  52. to 24-bit.
  53.  
  54. avirip test.avi TT P S50 L30
  55.  
  56. Creates TGA files starting at frame 50 and using a lightness factor of 30.
  57. If test.avi is 8-bit then 24-bit sequence TGA files are created.
  58.  
  59. Both commands create a test.txt file with a listing of sequence names.  But
  60. the last one creates a batch file to make an MPEG since CMPEG compatible 
  61. TGA files were created.
  62.  
  63. I had a lot of fun making this program and figuring out the DIB/BMP formats so
  64. this is FREE to whoever wants it.  If you have a program that creates MPEG's
  65. or does what my program does but better AND IS SHAREWARE then please post it on
  66. the INTERNET for others like myself to get and use.
  67.  
  68. -Mike Negus
  69. E-MAIL: men0348@isc.rit.edu